/****************************************************
 * 
 * home soft 版权所有.
 * 
 *****************************************************/

package com.homesoft.runtime.log;

/**
 * @author lihg
 * @data   2012-9-12
 */
public class Log implements ILog {

	private String _moduleName;
	
	protected Log(Class t){
		this._moduleName = t.getName();
	}
	
	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#EnableWriteSystemLog(com.home.soft.runtime.log.LogLevel)
	 */
	@Override
	public boolean EnableWriteSystemLog(LogLevel logLevel) {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#EnableWriteTraceLog(com.home.soft.runtime.log.LogLevel)
	 */
	@Override
	public boolean EnableWriteTraceLog(LogLevel logLevel) {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#WriteExceptionLog(java.lang.Exception, java.lang.String)
	 */
	@Override
	public void WriteExceptionLog(Exception exception, String message) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#WriteExceptionLog(java.lang.Exception)
	 */
	@Override
	public void WriteExceptionLog(Exception exception) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#getModuleName()
	 */
	@Override
	public String getModuleName() {
		// TODO Auto-generated method stub
		return this._moduleName;
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#BeginWriteTraceLog(com.home.soft.runtime.log.LogLevel, java.lang.String)
	 */
	@Override
	public long beginWriteTraceLog(LogLevel logLevel, String message) {
		// TODO Auto-generated method stub
		return 0;
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#EndWriteTraceLog(long, com.home.soft.runtime.log.LogLevel, java.lang.String)
	 */
	@Override
	public void endWriteTraceLog(long beginLogId, LogLevel logLevel,
			String message) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#WriteTraceLog(com.home.soft.runtime.log.LogLevel, java.lang.String)
	 */
	@Override
	public void writeTraceLog(LogLevel logLevel, String message) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see com.home.soft.runtime.log.ILog#writeSystemLog(com.home.soft.runtime.log.LogLevel, java.lang.String)
	 */
	@Override
	public void writeSystemLog(LogLevel logLevel, String message) {
		// TODO Auto-generated method stub
		
	}

}
